header {
  box-sizing: border-box;
  height: 0.8rem;
  background: #fff;
  box-shadow: 0 0.1rem 0.5rem 0.05rem rgba(10, 10, 10, 0.1);
  .nav-box {
    padding-left: 1.35rem;
    height: 100%;
  }
  #logo {
    width: 1.47rem;
    height: 100%;
    a {
      display: inline-block;
      width: 100%;
      height: 100%;
    }
    img {
      width: 100%;
      height: 100%;
    }
  }
  .nav {
    margin-left: 1.12rem;
    position: relative;
    line-height: 0.8rem;
    font-size: 0.2rem;
    .nav-item {
      position: relative;
      color: #333;
      cursor: pointer;
      padding-bottom: 0.1rem;
      padding-top: 0.1rem;
      margin-right: 0.56rem;
    }
    .nav-item:hover {
      .nav-span {
        color: #DB0032;
      }
      
    }
    .nav-item::before {
      content: "";
      width: 0;
      height: 100%;
      position: absolute;
      left: 50%;
      top: 0;
      border-bottom: 2px solid #DB0032;
      transition: all 0.1s linear;
      -webkit-transition: all 0.1s linear;
      -moz-transition: all 0.1s linear;
      -ms-transition: all 0.1s linear;
      -o-transition: all 0.1s linear;
}
    .nav-item:hover:before {
      left: 0;
      width: 100%;
    }
    .active {
      font-weight: bold;
      border-bottom: 2px solid #DB0032;
      .nav-span {
        color: #DB0032;
      }
    }
  }
  .nav-item-wrap {
    box-sizing: border-box;
    padding: 0.1rem 0 0.4rem;
    position: relative;
    &:hover {
      .nav-list {
        display: block;
      }
    }
    .nav-list {
      box-sizing: border-box;
      display: none;
        position: absolute;
        left: -0.16rem;
        width: 1.2rem;
        background: #fff;
        padding-left: 0.16rem ;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
        .nav-list-dynamic {
          bottom: -1.2rem;
          padding-left: 0 !important;
        }
        .nav-li {
          cursor: pointer;
          height: 0.4rem;
          box-sizing: border-box;
          
          text-align: left;
          line-height: 0.4rem;
          font-size: 0.16rem;
          
          a {
            color: #333;
            display: inline-block;
          width: 100%;
          height: 100%;
          }
          &:hover {
            a {
              color: #DB0032;
            }
          }
        }
      }
      .nav-list2 {
        padding-left: 0 !important;
      }
    .nav-list-prod {
      // bottom: -2rem;
      .nav-li {
        cursor: pointer;
        &:hover {
            color: #DB0032;
        }
      }
    }
  }
  .nav-item-wrap2 {
    padding: 0.1rem 0 0.3rem;
    .nav-list2 {
      .nav-li {
        padding: 0;
        text-align: center;
      }
    }
  }
}
